// 配置
const CONFIG = {
  /**
   * 左侧统计数量
   * num： 数量
   * bhl：  变化率，大于0为绿色，小于0为红色
   * **/
  tj: {
    // 总销量
    zxl: {
      num: 52821,
      bhl: '1440.00'
    },
    // 商品曝光次数
    spbgcs: {
      num: 899757,
      bhl: '926.02'
    },
    // 商品点击次数
    spdjcs: {
      num: 39343,
      bhl: '735.31'
    },
    // 转化率
    zhl: {
      num: 0.97,
      bhl: '0.44'
    },
  },

  /**
   * 图表数据
   * green： 颜色为绿色的线的数据
   * yellow： 颜色为黄色的线的数据
   * **/
  chartData: [{"green":1545,"yellow":1001},{"green":1536,"yellow":1000},{"green":1551,"yellow":1023},{"green":1589,"yellow":1007},{"green":1574,"yellow":1029},{"green":1634,"yellow":1092},{"green":1724,"yellow":1078},{"green":1555,"yellow":1076},{"green":1551,"yellow":1064},{"green":1863,"yellow":1031},{"green":1668,"yellow":1090},{"green":1904,"yellow":1108},{"green":1570,"yellow":1166},{"green":1719,"yellow":1117},{"green":1798,"yellow":1233},{"green":1718,"yellow":1120},{"green":1597,"yellow":1230},{"green":1855,"yellow":1224},{"green":1779,"yellow":1320},{"green":2000,"yellow":1033},{"green":1530,"yellow":1037},{"green":1959,"yellow":1177},{"green":1628,"yellow":1306},{"green":1710,"yellow":1405},{"green":2292,"yellow":1050},{"green":2150,"yellow":1027},{"green":1897,"yellow":1220},{"green":1784,"yellow":1390},{"green":2290,"yellow":1072},{"green":1851,"yellow":1459}],
  // 值范围
  chatGreenRange: [1500, 2500],
  chatYellowRange: [1000, 1500],

  /**
   * 商品列表
   * img：  图片地址。‘./static/image/goods/’是存产品图的文件夹
   * name： 商品名称
   * spu：  商品编号
   * ys：  已售数量
   * bhl：  变化率，大于0为绿色，小于0为红色
   * **/
  goods: [
    {
      "img": "./static/image/goods/01.jpg",
      "name": "防晒衣女士春夏季遮阳透气防紫外线纤薄原纱冰丝防嗮服连帽面罩",
      "spu": "S232434JKJ3234",
      "ys": "已售 2146 件",
      "bhl": "800.22"
    },
    {
      "img": "./static/image/goods/02.jpg",
      "name": "春夏季新款女装欧美外贸亚马逊新品性感修身抹胸直筒连体裤",
      "spu": "S232434JKJ3234",
      "ys": "已售 2109 件",
      "bhl": "-45.65"
    },
    {
      "img": "./static/image/goods/03.jpg",
      "name": "2025夏季女装新款镂空透视吊带针织V领无袖露背长裙",
      "spu": "S232434JKJ3234",
      "ys": "已售 1113 件",
      "bhl": "800.22"
    }
  ]

}

